toggle menu
MapLibre Native Android
11.8.0
androidJvm
switch theme
search in API
MapLibre Native Android
/
org.maplibre.android.module.http
/
HttpRequestImpl
Http
Request
Impl
open
class
HttpRequestImpl
:
HttpRequest
Members
Constructors
Http
Request
Impl
Link copied to clipboard
constructor
(
)
Properties
CONNECTION_
ERROR
Link copied to clipboard
val
CONNECTION_ERROR
:
Int
=
0
PERMANENT_
ERROR
Link copied to clipboard
val
PERMANENT_ERROR
:
Int
=
2
TEMPORARY_
ERROR
Link copied to clipboard
val
TEMPORARY_ERROR
:
Int
=
1
Functions
cancel
Request
Link copied to clipboard
open
fun
cancelRequest
(
)
Cancels the request.
enable
Log
Link copied to clipboard
open
fun
enableLog
(
enabled
:
Boolean
)
enable
Print
Request
Url
On
Failure
Link copied to clipboard
open
fun
enablePrintRequestUrlOnFailure
(
enabled
:
Boolean
)
execute
Request
Link copied to clipboard
open
fun
executeRequest
(
httpRequest
:
HttpResponder
,
nativePtr
:
Long
,
@
NonNull
resourceUrl
:
String
,
@
NonNull
dataRange
:
String
,
@
NonNull
etag
:
String
,
@
NonNull
modified
:
String
,
offlineUsage
:
Boolean
)
Executes the request.
set
Ok
Http
Client
Link copied to clipboard
open
fun
setOkHttpClient
(
@
Nullable
client
:
Call.Factory
)